// 便签对象的接口
export interface Note {
  _id?: string
  dates: string
  content: string
}

// 分页payload
export interface Page {
  page: number
  size: number
}

// 请求结果
export interface Result<T> {
  code: number
  data: T
  message: string
}

// noteList state的声明
export interface noteListSate {
  leftList: Note[]
  rightList: Note[]
}

export interface ToDo {
  _id?: string
  isdone: boolean
  content: string
}
